<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>院团</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/frameCss/font-awesome-4.7.0/css/font-awesome.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/frameCss/animate.css"/>
		<link rel="stylesheet" type="text/css" href="../css/frameCss/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="../css/public.css"/>
		<link rel="stylesheet" type="text/css" href="../css/index.css"/>
	</head>

	<body>
		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="area">
							<dl>
								<dt>按地区</dt>
								<dd>广东</dd>
								<dd>湖南</dd>
								<dd>安徽</dd>
								<dd>江苏</dd>
								<dd>浙江</dd>
								<dd>河南</dd>
								<dd>西川</dd>
								<dd>黑龙江</dd>
								<dd>新疆</dd>
							</dl>
						</div>
						<div class="clear-1"></div>
						<div class="confirm-btn">
							<button class="mui-btn mui-btn-danger confirm">确定</button>
							<button class="mui-btn mui-btn-primary reset">重置</button>
						</div>
					</div>
				</div>
			</aside>
			
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				
				<!-- 头部！！！ -->
				<header class="mui-bar mui-bar-nav">
					<span class="mui-action-back mui-icon mui-icon-back mui-pull-left"></span>
					<h1 class="mui-title">院团</h1>
				</header>
				
				<!-- 主体内容！！！ -->
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper animated fadeInLeft">
					<div class="mui-scroll">
						<div class="troupe-list">
							<ul class="mui-table-view">
								<li class="mui-table-view-cell mui-media troupe-box">
									<a href="index.html">
										<img class="mui-media-object mui-pull-left" src="../images/img1.jpg">
										<div class="mui-media-body">
											网演中国官方
											<p class='mui-ellipsis'>粉丝：100人，票品：10件</p>
										</div>
									</a>
								</li>
								<li class="mui-table-view-cell mui-media troupe-box">
									<a href="index.html">
										<img class="mui-media-object mui-pull-left" src="../images/img2.jpg">
										<div class="mui-media-body">
											网演中国官方
											<p class='mui-ellipsis'>粉丝：100人，票品：10件</p>
										</div>
									</a>
								</li>
							</ul>
						</div>
					</div>
				</div>
				<!--底部内容！！！-->
				<div class="mui-bar mui-bar-tab" id="tropue-serch">
					<div class="filter">
						<a href="#offCanvasSide">
							<ul id="offCanvasShow">
								<li class="fa fa-filter"></li>
								<li>分类</li>
							</ul>
						</a>	
					</div>
					<div class="mui-input-row mui-search search">
						<input type="search" class="mui-input-clear" placeholder="请输入院团名字">
					</div>
					<div class="search-btn">
						<button class="mui-btn mui-btn-primary" style="top: 0;">搜索</button>
					</div>
				</div>
				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		
		
		<script src="../js/frameJS/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/frameJS/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script>
			$(function(){
				
				//防止用了mui后a标签失效
				mui('body').on('tap','a',function(){
				    window.top.location.href=this.href;
				});
				
				//侧滑栏
				function sideMenuMove(){
					mui.init();
					 //侧滑容器父节点
					var offCanvasWrapper = mui('#offCanvasWrapper');
					 //主界面容器
					var offCanvasInner = offCanvasWrapper[0].querySelector('.mui-inner-wrap');
					 //菜单容器
					var offCanvasSide = document.getElementById("offCanvasSide");
					 //移动效果是否为整体移动
					var moveTogether = false;
					 //侧滑容器的class列表，增加.mui-slide-in即可实现菜单移动、主界面不动的效果；
					var classList = offCanvasWrapper[0].classList;
					//侧边菜单移入效果（主界面不动，菜单移入）
					classList.add('mui-slide-in');
					 //主界面和侧滑菜单界面均支持区域滚动；
					mui('#offCanvasSideScroll').scroll();
					mui('#offCanvasContentScroll').scroll();
					 //实现ios平台原生侧滑关闭页面；
					if (mui.os.plus && mui.os.ios) {
						mui.plusReady(function() { //5+ iOS暂时无法屏蔽popGesture时传递touch事件，故该demo直接屏蔽popGesture功能
							plus.webview.currentWebview().setStyle({
								'popGesture': 'none'
							});
						});
					}
				}
				sideMenuMove();
				
				//侧边栏选中
				function clickSideMenu(){
					$('#offCanvasSide dd').on('touchstart',function(){
						$(this).css({'border':'1px #ff0000 solid','background-color':'#fff'})
					})
				}
				clickSideMenu();
				
				//侧边栏重置
				function siDeMenuReset(){
					$('#offCanvasSide .reset').on('touchstart',function(){
						$('#offCanvasSide dd').css({'border':'1px #DDDDDD solid','background-color':'#f0f2f5'})
					})
				}
				siDeMenuReset();
			})
			
		</script>
	</body>

</html>